import {Storage} from "@ionic/storage";
import {LoginService} from "../pages/login/login.service";
import {Events} from "ionic-angular";
import {Injectable} from "@angular/core";

@Injectable()
export class LogoutService {
    constructor(private storage:Storage,private loginSer:LoginService,
                public events:Events){

    }

    logout(){
        this.storage.get('Authorization').then(value => {
            const data = {
                token: value
            };
        })
    }
}
