mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
improved API request wrapper, partial completion of operations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Generates a random string containing numbers and letters
|
||||
*/
|
||||
export const generateRandString = (length: number): string => {
|
||||
const generateRandString = (length: number): string => {
|
||||
const possible =
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
let text = "";
|
||||
@@ -11,3 +11,5 @@ export const generateRandString = (length: number): string => {
|
||||
}
|
||||
return text;
|
||||
};
|
||||
|
||||
export { generateRandString };
|
||||
|
||||
Reference in New Issue
Block a user