forked from mirrors/misskey
refactor: Use ===
This commit is contained in:
@@ -41,7 +41,7 @@ export async function extractPollFromQuestion(source: string | IObject, resolver
|
||||
* @returns true if updated
|
||||
*/
|
||||
export async function updateQuestion(value: any) {
|
||||
const uri = typeof value == 'string' ? value : value.id;
|
||||
const uri = typeof value === 'string' ? value : value.id;
|
||||
|
||||
// URIがこのサーバーを指しているならスキップ
|
||||
if (uri.startsWith(config.url + '/')) throw new Error('uri points local');
|
||||
|
||||
Reference in New Issue
Block a user