forked from MapComplete/MapComplete
		
	Fix test
This commit is contained in:
		
							parent
							
								
									700cad1000
								
							
						
					
					
						commit
						426ba4a930
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -271,7 +271,7 @@ export default class Wikidata { | ||||||
|      * Gets the 'key' segment from a URL |      * Gets the 'key' segment from a URL | ||||||
|      * |      * | ||||||
|      * Wikidata.ExtractKey("https://www.wikidata.org/wiki/Lexeme:L614072") // => "L614072"
 |      * Wikidata.ExtractKey("https://www.wikidata.org/wiki/Lexeme:L614072") // => "L614072"
 | ||||||
|      * Wikidata.ExtractKey("http://www.wikidata.org/entity/Q55008046") // => "QQ55008046"
 |      * Wikidata.ExtractKey("http://www.wikidata.org/entity/Q55008046") // => "Q55008046"
 | ||||||
|      */ |      */ | ||||||
|     public static ExtractKey(value: string | number): string { |     public static ExtractKey(value: string | number): string { | ||||||
|         if (typeof value === "number") { |         if (typeof value === "number") { | ||||||
|  | @ -378,4 +378,4 @@ export default class Wikidata { | ||||||
|         return WikidataResponse.fromJson(response) |         return WikidataResponse.fromJson(response) | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue