mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-23 05:14:26 +00:00
feat: rename to shortify
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
export const getCorgiData = () => {
|
||||
export const getShortifyData = () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
chrome.storage.local.get(["corgi"], (data) => {
|
||||
if (data?.corgi) {
|
||||
resolve(data.corgi);
|
||||
chrome.storage.local.get(["shortify"], (data) => {
|
||||
if (data?.shortify) {
|
||||
resolve(data.shortify);
|
||||
} else {
|
||||
reject("corgi data not found");
|
||||
reject("shortify data not found");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user