diff --git a/Dotnet/AppApi/Electron/Screenshot.cs b/Dotnet/AppApi/Electron/Screenshot.cs index d6c44520..44c064c0 100644 --- a/Dotnet/AppApi/Electron/Screenshot.cs +++ b/Dotnet/AppApi/Electron/Screenshot.cs @@ -37,7 +37,7 @@ namespace VRCX path = newPath; } - ScreenshotHelper.WriteVRCXMetadata(path, metadataString); + ScreenshotHelper.WriteVRCXMetadata(metadataString, path); return path; } } diff --git a/src/views/Settings/dialogs/ScreenshotMetadataDialog.vue b/src/views/Settings/dialogs/ScreenshotMetadataDialog.vue index 50fd6ca5..f58c75ef 100644 --- a/src/views/Settings/dialogs/ScreenshotMetadataDialog.vue +++ b/src/views/Settings/dialogs/ScreenshotMetadataDialog.vue @@ -473,7 +473,7 @@ * Error checking and and verification of data is done in .NET already; In the case that the data/file is invalid, a JSON object with the token "error" will be returned containing a description of the problem. * Example: {"error":"Invalid file selected. Please select a valid VRChat screenshot."} * See docs/screenshotMetadata.json for schema - * @param {string} metadata - JSON string grabbed from PNG file + * @param {string} json - JSON string grabbed from PNG file * @param {boolean} needsCarouselFiles - Whether or not to get the last/next files for the carousel * @returns {Promise} */