Skip to content

Commit 8f5248d

Browse files
committed
fix: Allow multiple URIs in redirectUris in POST /v1/app
1 parent d29123c commit 8f5248d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mastodon/rest/v1/app-repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface CreateAppParams {
99
* To display the authorization code to the user instead of redirecting to a web page,
1010
* use `urn:ietf:wg:oauth:2.0:oob` in this parameter.
1111
*/
12-
readonly redirectUris: string;
12+
readonly redirectUris: string | readonly string[];
1313
/** Space separated list of scopes. If none is provided, defaults to `read`. */
1414
readonly scopes: string;
1515
/** URL to the homepage of your app */

0 commit comments

Comments
 (0)